package com.telnetnz.ticketdesk.dao.mapper;

import java.util.List;

import com.rockbb.common.dao.EntityMapper;
import com.telnetnz.ticketdesk.dao.entity.TicketToUserEntity;

public interface TicketToUserMapper extends EntityMapper<TicketToUserEntity>
{
	void deleteByTicketId(long ticketId);
	void deleteByUserId(long userId);
	List<TicketToUserEntity> selectByUserId(long userId);
	List<TicketToUserEntity> selectByTicketId(long ticketId);
	TicketToUserEntity selectByTicketIdAndUserId(TicketToUserEntity entity);
}